﻿/**  版本信息模板在安装目录下，可自行修改。
* Message.cs
*
* 功 能： N/A
* 类 名： Message
*
* Ver    变更日期             负责人  变更内容
* ───────────────────────────────────
* V0.01  2014/2/22 18:24:14   N/A    初版
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│　此技术信息为本公司机密信息，未经本公司书面同意禁止向第三方披露．　│
*│　版权所有：动软卓越（北京）科技有限公司　　　　　　　　　　　　　　│
*└──────────────────────────────────┘
*/
using System;
namespace BBPA.Model
{
	/// <summary>
	/// Message:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Message
	{
		public Message()
		{}
		#region Model
		private int _id;
		private int _userid=0;
		private int _receiveuserid=0;
		private int _replayid=0;
		private string _title;
		private string _thecontent;
		private DateTime _dateandtime= DateTime.Now;
		private bool _hasread= false;
		private DateTime? _hasreaddateandtime;
		private string _receiveuseridstr="";
		private int _receiveusertypeid=0;
		private bool _issendsms= false;
		private bool _issendweb= false;
		private int _sendsmsstate=0;
		private DateTime? _startsendsmsdateandtime;
		private DateTime? _finishsendsmsdateandtime;
		private string __sms2mobile;
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int UserID
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ReceiveUserID
		{
			set{ _receiveuserid=value;}
			get{return _receiveuserid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ReplayID
		{
			set{ _replayid=value;}
			get{return _replayid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Title
		{
			set{ _title=value;}
			get{return _title;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string TheContent
		{
			set{ _thecontent=value;}
			get{return _thecontent;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime Dateandtime
		{
			set{ _dateandtime=value;}
			get{return _dateandtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool HasRead
		{
			set{ _hasread=value;}
			get{return _hasread;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? HasReadDateandtime
		{
			set{ _hasreaddateandtime=value;}
			get{return _hasreaddateandtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string ReceiveUserIDStr
		{
			set{ _receiveuseridstr=value;}
			get{return _receiveuseridstr;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ReceiveUserTypeID
		{
			set{ _receiveusertypeid=value;}
			get{return _receiveusertypeid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool IsSendSMS
		{
			set{ _issendsms=value;}
			get{return _issendsms;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool IsSendWeb
		{
			set{ _issendweb=value;}
			get{return _issendweb;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int SendSMSstate
		{
			set{ _sendsmsstate=value;}
			get{return _sendsmsstate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? StartSendSMSDateandtime
		{
			set{ _startsendsmsdateandtime=value;}
			get{return _startsendsmsdateandtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? FinishSendSMSDateandtime
		{
			set{ _finishsendsmsdateandtime=value;}
			get{return _finishsendsmsdateandtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string _SMS2Mobile
		{
			set{ __sms2mobile=value;}
			get{return __sms2mobile;}
		}
		#endregion Model

	}
}

